home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / os2 / afe22.arj / OPEN.CMD < prev    next >
OS/2 REXX Batch file  |  1994-01-15  |  826b  |  32 lines

  1. /* OPEN.CMD */
  2.  
  3. /*
  4.  
  5.    A simple little REXX program to open a directory folder directly
  6.    in the ICON view.
  7.  
  8.    Substitute your own directory name where I have "d:\dlf".  Create
  9.    a desktop object for it and set it to start minimized.  You can use
  10.    this to open your ARCDIR in order to easily drag and drop archive
  11.    files on the AFE program object.
  12.  
  13.    Note that you prefer the details or tree view of folders, change
  14.    the 'OPEN=icon' to 'OPEN=details' or 'OPEN=tree'.
  15.  
  16. */
  17.  
  18. opendir='d:\dlf'
  19.  
  20. If RxFuncQuery('SysLoadFuncs') THEN DO
  21.         CALL RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  22.         CALL SysLoadFuncs
  23.     END
  24.  
  25. call SysSetObjectData opendir, 'OPEN=icon'
  26. call SysSetObjectData opendir, 'OPEN=icon'
  27.  
  28. /* The double command brings the folder to the forground */
  29.  
  30. exit
  31.  
  32.